<ui:component xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:a="https://ajax4jsf.dev.java.net/ajax"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich"
	xmlns:ctg="http://www.crotouristguide.com/taglib"
	xmlns:c="http://java.sun.com/jsp/jstl/core">
	<rich:panel styleClass="spotlight">
		<f:facet name="header">
			<h:outputText value="Spotlight" />
		</f:facet>
		<s:span styleClass="text11">
			<i><h:outputText value="#{messages['label.kategorija.ocjena']}:" /></i>
			<h:graphicImage alt="#{messages['label.image.alt']}"
				value="/resources/images/class_#{objektSpotlight.kategorija.brojZvjezdica}star.gif"
				rendered="#{objektSpotlight.kategorija != null}" />
		</s:span>
		<br />
		<b> <h:outputLink
			value="#{application.contextPath}/guides/objekti/objekt.seam">
			<f:param name="idObjekta" value="#{objektSpotlight.idObjekta}" />
			<f:param name="l" value="#{currentLang}" />
			<f:param name="title"
				value="#{titleAction.getUrlTitle(objektSpotlight)}" />
			<h:outputText
				value="#{objektSpotlight.tipObjekta.naziv} #{objektSpotlight.naziv}" />
		</h:outputLink> <h:outputText value=", " /> <h:outputLink
			value="#{application.contextPath}/guides/mjesta/mjesto.seam">
			<f:param name="idMjesta" value="#{objektSpotlight.mjesto.idMjesta}" />
			<f:param name="l" value="#{currentLang}" />
			<f:param name="title"
				value="#{titleAction.getUrlTitle(objektSpotlight.mjesto)}" />
			<h:outputText value="#{objektSpotlight.mjesto.naziv}" />
		</h:outputLink> </b>
		<br />
		<h:panelGroup>
			<h:outputLink
				value="#{application.contextPath}/guides/objekti/objekt.seam">
				<f:param name="idObjekta" value="#{objektSpotlight.idObjekta}" />
				<f:param name="l" value="#{currentLang}" />
				<f:param name="title"
					value="#{titleAction.getUrlTitle(objektSpotlight)}" />
				<img
					alt="#{messages['label.image.alt']} #{objektSpotlight.naziv},#{objektSpotlight.mjesto.naziv}"
					width="190" height="140"
					src="#{slikaAction.getPocSlikaPath(objektSpotlight,'m')}"> </img>
			</h:outputLink>
		</h:panelGroup>
		<div class="text11">
		<p><i><h:outputText value="#{messages[ 'label.desc']}: " /></i><br />
		<h:outputText
			value="#{stringUtil.substring(objektSpotlight.getOpis(locale.language).opis,300)} " /> <h:outputLink
			value="#{application.contextPath}/guides/objekti/objekt.seam">
			<f:param name="idObjekta" value="#{objektSpotlight.idObjekta}" />
			<f:param name="title"
				value="#{titleAction.getUrlTitle(objektSpotlight)}" />
			<f:param name="l" value="#{currentLang}" />
			<h:outputText value="#{messages['label.link.more']}" />
		</h:outputLink></p>
		</div>
		<br />
	</rich:panel>
</ui:component>